// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import axios from 'axios'
import service from './service'
import $ from 'jquery'
import 'font-awesome/css/font-awesome.min.css'
// import 'bootstrap/dist/js/bootstrap.min.js'

import G from './final/global'
import image from './final/imageUrl'


import VueQuillEditor from 'vue-quill-editor'

// 引入样式
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'

Vue.use(VueQuillEditor)


Vue.use(G);
Vue.use(image);
// import echarts from 'echarts'
axios.defaults.withCredentials=true
Vue.use(ElementUI)
Vue.config.productionTip = false
// Vue.prototype.axios=axios//axios挂载到原型
Vue.prototype.service = service// axios挂载到原型
// Vue.prototype.$echarts=echarts//axios挂载到原型

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
